﻿@{
    ViewBag.Title = "企业征信详细";
}
@section headerSection{
    <style>
        #exampleToolbar > .form-group {
            float: left;
            margin: 0;
            margin-left: 5px;
        }

        .bar {
            height: 18px;
            background: green;
        }
    </style>
}
<div class="animated fadeInRight">
    <div class="ibox float-e-margins" style="margin-bottom: 0px;">
        <div class="ibox-content" style="padding: 0px 20px;">
            <div class="row row-lg">
                <div class="col-sm-12 col-sm-leftRight">
                    <div class="example">
                        <div class="btn-group hidden-xs" id="exampleToolbar" role="group">
                            <button id="entAdd" type="button" class="btn btn-outline btn-primary">
                                <i class="glyphicon glyphicon-plus" aria-hidden="true">新增</i>
                            </button>
                            <button id="entEdit" type="button" class="btn btn-outline btn-primary">
                                <i class="glyphicon glyphicon-pencil" aria-hidden="true">编辑</i>
                            </button>
                            <button id="entDel" type="button" class="btn btn-outline btn-danger">
                                <i class="glyphicon glyphicon-trash" aria-hidden="true">删除</i>
                            </button>
                            <div class="form-group">
                                <input id="keyword" name="keyword" type="text" class="form-control" placeholder="请输入标题查询">
                            </div>
                            <div class="form-group">
                                <button id="btnSearch" class="btn btn-primary" type="button"><i class="fa fa-search"></i>&nbsp;查询</button>
                            </div>
                        </div>
                        <table id="enterDetailTableToolbar" data-mobile-responsive="true" data-radio="true"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 添加/编辑 -->
<div id="enter_form" style="width: 600px; overflow: hidden; display: none;">
    <form class="form-horizontal m-t" id="enterFormTable" method="post">
        <div class="form-group">
            <label class="col-sm-3 control-label">标题<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <input id="ed_title" name="ed_title" type="text" class="form-control input-sm" placeholder="请输入标题" title="请输入标题" required="" aria-required="true" />
                <input type="hidden" id="ent_id" name="ent_id" value=""/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">案件类型<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <select id=case_type title="请选择征信状态" name="case_type" class="selectpicker show-tick bs-select-hidden" data-live-search="false" required="" aria-required="true" placeholder="请选择征信状态">
                    <option value="0" selected>欠薪</option>
                    <option value="1">其他</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">欠薪金额：</label>
            <div class="col-sm-7">
                <input id="pay_money" name="pay_money" type="text" value="0" class="form-control input-sm" placeholder="请输入欠薪金额" title="请输入欠薪金额" aria-required="true" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">欠薪人数：</label>
            <div class="col-sm-7">
                <input id="pay_person" name="pay_person" type="text" value="0" class="form-control input-sm" placeholder="请输入欠薪金额" title="请输入欠薪金额" aria-required="true" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">征信状态<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <select id=ent_type title="请选择征信状态" name="ent_type" class="selectpicker show-tick bs-select-hidden" data-live-search="false" required="" aria-required="true"  placeholder="请选择征信状态"></select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">原因<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <textarea class="form-control" id="ed_reason" name="ed_reason" rows="3" placeholder="请输入失信原因" title="请输入失信原因" required="" aria-required="true"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">是否影响征信<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <select id=is_success title="请选择是否影响征信" name="is_success" class="selectpicker show-tick bs-select-hidden" data-live-search="false" required="" aria-required="true" placeholder="请选择是否影响征信">
                    <option value=0 selected>影响</option>
                    <option value=1>不影响</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">记录人<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <input id="ed_create" name="ed_create" type="text" class="form-control input-sm" placeholder="请输入记录人" title="请输入记录人" required="" aria-required="true" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">时间<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <input id="ed_time" name="ed_time" type="text" required="" aria-required="true" class="laydate-icon form-control input-sm" placeholder="请选择时间" title="请选择时间" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">处理状态<span class="glyphicon glyphicon-asterisk requiredtitle"></span>：</label>
            <div class="col-sm-7">
                <select id=solve_type title="请选择处理状态" name="solve_type" class="selectpicker show-tick bs-select-hidden" data-live-search="false" required="" aria-required="true" placeholder="请选择处理状态">
                    <option value="0" selected>未处理</option>
                    <option value="1">已处理</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">处理情况：</label>
            <div class="col-sm-7">
                <textarea class="form-control" id="ed_note" name="ed_note" rows="4" placeholder="请输入备注" title="请输入备注"></textarea>
            </div>
        </div>
    </form>
</div>
@section footSection{
    <script src="~/Resources/myScript/Company/companyManager.js"></script>
    <script>
        $(function () {
            //初始化页面
            enterDeatilManager.initPage();
        });
    </script>
}